package com.ruoyi.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

public class BlsVo {

    @Data
    @ApiModel("BlsDto - BlsZlInfoVo")
    public static class BlsZlInfoVo{
        @ApiModelProperty("ID")
        private Long id;
        @ApiModelProperty("姓名")
        private String name;
        @ApiModelProperty("姓名全拼")
        private String pinyinFull;
        @ApiModelProperty("姓名简拼")
        private String pinyinSimple;
        @ApiModelProperty("性别")
        private Byte sex;
        @ApiModelProperty("年龄")
        private Integer age;
        @ApiModelProperty("身份证")
        private String idCard;
        @ApiModelProperty("民族")
        private String nation;
        @ApiModelProperty("联系电话")
        private String phone;
        @ApiModelProperty("身高")
        private String height;
        @ApiModelProperty("体重")
        private String weight;
        @ApiModelProperty("数据来源")
        private Integer source;
        @ApiModelProperty("项目ID")
        private Long projectId;
        @ApiModelProperty("人口学ID")
        private Long patientId;
        @ApiModelProperty("住院号")
        private String zyh;
        @ApiModelProperty("主要医疗付费方式")
        private String ylfffsdm;
        @ApiModelProperty("入院途径")
        private String rytj;
        @ApiModelProperty("住院日期")
        private Date rysj;
        @ApiModelProperty("出院日期")
        private Date cysj;
        @ApiModelProperty("住院年龄（计算（住院时间-出生日期）")
        private Integer zynl;
        @ApiModelProperty("住院天数")
        private String sjzyts;
        @ApiModelProperty("离院方式")
        private String lyfsdm;
        @ApiModelProperty("住院总费用")
        private String zfy;
        @ApiModelProperty("主要诊断名称")
        private String zyzdmc;
        @ApiModelProperty("主要诊断编码")
        private String zyzdbm;
        @ApiModelProperty("诊断名称")
        private String zdmc;
        @ApiModelProperty("诊断编码")
        private String zdbm;
        @ApiModelProperty("手术名称")
        private String ssmc;
        @ApiModelProperty("手术编码")
        private String ssbm;
        @ApiModelProperty("手术日期")
        private Date ssrq;
        @ApiModelProperty("备注")
        private String remark;
        @ApiModelProperty("创建者")
        private String createBy;
        @ApiModelProperty("创建时间")
        private Date createTime;
        @ApiModelProperty("更新者")
        private String updateBy;
        @ApiModelProperty("修改时间")
        private Date updateTime;
        @ApiModelProperty("dnt")
        private Integer dnt;
        @ApiModelProperty("odt")
        private Integer odt;
        @ApiModelProperty("dit")
        private Integer dit;
        @ApiModelProperty("ont")
        private Integer ont;
        @ApiModelProperty("dpt")
        private Integer dpt;
        @ApiModelProperty("opt")
        private Integer opt;
        @ApiModelProperty("prt")
        private Integer prt;
        @ApiModelProperty("子表数据")
        private List<BlsJzInfoVo.PmsArchivesRecordVo> recordVoList;

        @Data
        @ApiModel("PmsArchivesVo - PmsArchivesRecordVo")
        public static class PmsArchivesRecordVo {
            @ApiModelProperty("key")
            private String code;
            @ApiModelProperty("value")
            private String answer;

            private String codeName;
            private Integer sort;
            @ApiModelProperty("是否异常 0：否； 1：是")
            private Byte isAbnormal = 0;
            @ApiModelProperty("正常取值范围")
            private String normal;
            @ApiModelProperty("是否必填(0：是；1：否)")
            private Byte isMust = 1;

        }
    }

    @Data
    @ApiModel("BlsDto - BlsJzInfoVo")
    public static class BlsJzInfoVo{
        @ApiModelProperty("ID")
        private Long id;
        @ApiModelProperty("姓名")
        private String name;
        @ApiModelProperty("姓名全拼")
        private String pinyinFull;
        @ApiModelProperty("姓名简拼")
        private String pinyinSimple;
        @ApiModelProperty("性别")
        private Byte sex;
        @ApiModelProperty("年龄")
        private Integer age;
        @ApiModelProperty("身份证")
        private String idCard;
        @ApiModelProperty("民族")
        private String nation;
        @ApiModelProperty("联系电话")
        private String phone;
        @ApiModelProperty("身高")
        private String height;
        @ApiModelProperty("体重")
        private String weight;
        @ApiModelProperty("数据来源")
        private Integer source;
        @ApiModelProperty("所属项目")
        private Long projectId;
        @ApiModelProperty("人口学ID")
        private Long patientId;
        @ApiModelProperty("门/急诊号")
        private String jzh;
        @ApiModelProperty("卒中医生编号")
        private String czysNo;
        @ApiModelProperty("办理住院手续时间")
        private Date zyTime;
        @ApiModelProperty("诱因")
        private String yy;
        @ApiModelProperty("其他诱因")
        private String qtYy;
        @ApiModelProperty("症状")
        private String zz;
        @ApiModelProperty("其他症状")
        private String qtZz;
        @ApiModelProperty("到院时间")
        private Date dyTime;
        @ApiModelProperty("通知卒中医生时间")
        private Date tzTime;
        @ApiModelProperty("是否醒后卒中")
        private Byte isXhcz;
        @ApiModelProperty("发病时间")
        private Date fbTime;
        @ApiModelProperty("是否院内卒中")
        private Byte isYncz;
        @ApiModelProperty("最后正常时间")
        private Date zhzcTime;
        @ApiModelProperty("来院方式")
        private String lyfs;
        @ApiModelProperty("神内医生到场时间")
        private Date snDcTime;
        @ApiModelProperty("到达病房")
        private Date ddBfTime;
        @ApiModelProperty("急诊科医生到场时间")
        private Date jzDcTime;
        @ApiModelProperty("备注")
        private String remark;
        @ApiModelProperty("创建者")
        private String createBy;
        @ApiModelProperty("创建时间")
        private Date createTime;
        @ApiModelProperty("更新者")
        private String updateBy;
        @ApiModelProperty("修改时间")
        private Date updateTime;
        @ApiModelProperty("子表数据")
        private List<PmsArchivesRecordVo> recordVoList;

        @Data
        @ApiModel("PmsArchivesVo - PmsArchivesRecordVo")
        public static class PmsArchivesRecordVo {
            @ApiModelProperty("key")
            private String code;
            @ApiModelProperty("value")
            private String answer;

            private String codeName;
            private Integer sort;
            @ApiModelProperty("是否异常 0：否； 1：是")
            private Byte isAbnormal = 0;
            @ApiModelProperty("正常取值范围")
            private String normal;
            @ApiModelProperty("是否必填(0：是；1：否)")
            private Byte isMust = 1;

        }
    }
}
